package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.HomeworkStuAnswer;
import com.ruoyi.business.domain.bo.HomeworkStuAnswerBo;

import java.util.List;

/**
 * @author 最爱喝兽奶
 * @create 2022/9/29
 **/
public interface IHomeworkStuAnswerService extends IService<HomeworkStuAnswer> {

    /**
     * 提交家庭作业
     * @param list 作业信息列表
     */
    void submitHomework(List<HomeworkStuAnswerBo> list);

    /**
     * 查询作业提交的人数
     * @param id
     * @return
     */
    Integer querySubmitCount(String id);


    /**
     * 提交作业
     * @param bos
     */
    void submitSubjectiveEvaluation(List<HomeworkStuAnswerBo> bos);
}
